package com.xiaonei.storm.adapter;


public class IceStormTask implements Runnable {

    private String message;

    private IceStormListener listener;

    public IceStormTask(IceStormListener listener, String message) {
        this.listener = listener;
        this.message = message;
    }

    public void run() {
        listener.handle(message);
    }
}
